import request from '@/utils/request'
// 登陆接口
export const Login = (data) => {
  return request({
    url: '/login',
    method: 'post',
    data
  })
}
// 获取用户信息
export const Info = () => {
  return request({
    url: '/info',
    method: 'get'

  })
}
// 用户注册接口
export const Userregister = (data) => {
  return request({
    url: '/register',
    method: 'post',
    data
  })
}
// 获取生成验证码
export const captchaTypeSendsms = (data) => {
  return request({
    url: '/sendsms',
    method: 'post',
    data

  })
}
